<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/meta.jsp" %>
<script type="text/javascript">
	console.log(getSkipParam());
	
	var success2 = function(data) {
		var attachName=data.attachName;  
		var attachPath=data.attachPath; 
		var uploadTime=data.uploadTime; 
		var tr=$("<tr><td>1</td><td>"+attachName+"</td><td>申请提交</td><td>SYS</td><td>"+uploadTime+"</td><td><a class='label label-danger' onclick='deltr(this);'>删除</a></td></tr>");  
		tr.appendTo("#uploadTable");  
		autoSetTrIndex("uploadTable");
	};

	$(function() {
		ajaxFileUploadNoClick('businessLicense', fileUploadCallBack);
		ajaxFileUploadNoClick('fiLeName2', success2);
	})
	
	function deltr(clickTd){  
	    var tr = $(clickTd).parent().parent();  
	    tr.remove();  
	    autoSetTrIndex("uploadTable");
	} 
</script>
   <div class="box box-primary">
       <div class="box-header with-border">
           <h3 class="box-title">申请信息</h3>

           <div class="box-tools pull-right">
               <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                       class="fa fa-minus"></i></button>
               <!--<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>-->
           </div>
       </div>
       <div class="box-body">
           <div class="row">
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>申请日期</label>
                       <p class="text-muted">2016-03-21</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>流水号</label>
                       <p class="text-muted">201603210001</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>申请人编号</label>
                       <p class="text-muted"></p></div>
               </div>
           </div>
           <div class="row">
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>企业名称</label>
                       <p class="text-muted">TCL数码科技(无锡)有限公司</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>行业类别</label>
                       <p class="text-muted">电子器件制造</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>地址</label>
                       <p class="text-muted"></p></div>
               </div>
           </div>
           <div class="row">
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>成立日期</label>
                       <p class="text-muted">2001-08-10 </p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>注册资本（万元）</label>
                       <p class="text-muted">12257</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>联系人</label>
                       <p class="text-muted">陆麟育</p></div>
               </div>
           </div>
           <div class="row">
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>传真</label>
                       <p class="text-muted"></p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>电话</label>
                       <p class="text-muted">0510-68788918</p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>是否科技企业</label>
                       <p class="text-muted">科技企业</p></div>
               </div>
           </div>
           <div class="row">
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>经营范围</label>
                       <p class="text-muted"></p></div>
               </div>
               <div class="form-group col-md-4">
                   <div class="form-group">
                       <label>所属园区</label>
                       <p class="text-muted"></p></div>
               </div>
               <div class="form-group col-md-4">

               </div>
           </div>
           
       </div>
       <!-- /.row -->
   </div>
   <div class="box box-success">
       <div class="box-header with-border">
           <h3 class="box-title">科技企业认定</h3>

           <div class="box-tools pull-right">
               <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                       class="fa fa-minus"></i></button>
               <!--<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>-->
           </div>
       </div>
       <div class="box-body">
           <div class="row">
               <div class="col-md-6">
                   <div class="form-group">
                       <label>是否服务外包企业</label>
                       <select class="form-control select2" style="width: 100%;">
                           <option selected="selected">是</option>
                           <option>否</option>
                       </select>
                   </div>
                   <div class="form-group">
                       <label>办公面积（㎡）</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
                   <div class="form-group">
                       <label>研发生产面积（㎡）</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
                   <div class="form-group">
                       <label>合计（㎡）</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
               </div>
               <div class="col-md-6">
                   <div class="form-group">
                       <label>从业人数</label><span class="Validform_checktip">提示信息（正则校验）</span>
                       <input type="text" class="form-control" placeholder="" datatype="s5-16" errormsg="正则校验失败">
                   </div>
                   <div class="form-group">
                       <label>当年度投入（万元）</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
                   <div class="form-group">
                       <label>当年度研发投入（万元）</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
                   <div class="form-group">
                       <label>当年度研发投入占比</label>
                       <input type="text" class="form-control" placeholder="">
                   </div>
                   <!-- /.form-group -->
               </div>
               <!-- /.col -->
           </div>
           <!-- /.row -->
           <div class="row">
               <div class="col-md-12">
                   <div class="form-group">
                       <label>企业取得的研发成果</label>
                       <textarea class="form-control" rows="3" placeholder=""></textarea>
                   </div>
                   <div class="form-group">
                       <label>企业获得的荣誉</label>
                       <textarea class="form-control" rows="3" placeholder=" "></textarea>
                   </div>
               </div>
           </div>
           <div class="row">
               <div class="col-md-6">
                   <div class="form-group">
                       <label>营业执照</label>
                       <div class="form-group">
                           <div class="uploader blue" id="businessLicense">
                               <input type="text" id="businessLicenseAttachName" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                           <input type="hidden" id="businessLicenseAttach">
                       </div>
                       <!--<input type="file" id="exampleInputFile">-->
                   </div>
                   <div class="form-group">
                       <label>研发和科技活动</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile1">-->
                   </div>
                   <div class="form-group">
                       <label>科技企业资质认定</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile2">-->
                   </div>
               </div>
               <div class="col-md-6">
                   <div class="form-group">
                       <label>税务登记证</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile20">-->
                   </div>
                   <div class="form-group">
                       <label>技术服务 </label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile21">-->
                   </div>
                   <div class="form-group">
                       <label>其它 </label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile22">-->
                   </div>
               </div>
           </div>
           <button class="btn btn-info">提交</button>
           <button class="btn btn-default">取消</button>
       </div>
   </div>
   <div class="box box-info">
       <div class="box-header ">
           <h3 class="box-title">企业认定评级</h3>

           <div class="box-tools pull-right">
               <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                       class="fa fa-minus"></i></button>
               <!--<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>-->
           </div>
       </div>
       <!-- /.box-header -->
       <div class="box-body">
           <!-- /.row -->
           <div class="row">
               <div class="box-body table-responsive no-padding">
                   <table class="table table-hover">
                       <tr>
                           <th>年度</th>
                           <th>（第三年）<input type="text" class="form-control" placeholder=""></th>
                           <th>（第二年）<input type="text" class="form-control" placeholder=""></th>
                           <th>（第一年）<input type="text" class="form-control" placeholder=""></th>
                           <th>备注</th>
                       </tr>
                       <tr>
                           <td>主营业务收入</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据审计报告附注“营业收入”披露信息填写</td>
                       </tr>
                       <tr>
                           <td>营业利润</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据利润表“营业利润”填写</td>
                       </tr>
                       <tr>
                           <td>经营活动产生的现金流量净额</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据现金流量表“经营活动产生的现金流量净额”填写</td>
                       </tr>
                       <tr>
                           <td>期间费用</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据审计报告附注“管理费用、销售费用、财务费用”披露信息填写</td>
                       </tr>
                       <tr>
                           <td>研发费用</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据审计报告附注“研发费用”披露信息填写</td>
                       </tr>
                       <tr>
                           <td>职工薪酬类支出</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据审计报告附注“应付职工薪酬”披露信息填写</td>
                       </tr>
                       <tr>
                           <td>机器设备原值</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据审计报告附注“固定资产”披露信息填写</td>
                       </tr>
                       <tr>
                           <td>企业成立年数</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>根据营业执照的日期填写，不足一年，按1年计算，栏内填写“1”</td>
                       </tr>
                       <tr>
                           <td>企业类别代码</td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td><input type="text" class="form-control" placeholder=""></td>
                           <td>一边企业填写“1”，生物医药类企业填写“2”</td>
                       </tr>

                   </table>
               </div>
           </div>
           <div class="row">
               <div class="col-md-2">
                   <div class="form-group">
                       <button type="button" class="btn btn-block btn-info">企业自评</button>
                   </div>
               </div>
               <div class="col-md-10">
                   <div class="form-group">
                       <label>返回后显示孵化期</label>

                   </div>

               </div>
           </div>
           <div class="row">
               <div class="col-md-6">
                   <div class="form-group">
                       <label>财务报表</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile30">-->
                   </div>
                   <div class="form-group">
                       <label>社保单个人所得税清单</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile31">-->
                   </div>

               </div>
               <div class="col-md-6">
                   <div class="form-group">
                       <label>办公用房租赁合同</label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile40">-->
                   </div>
                   <div class="form-group">
                       <label>水电物业单据 </label>
                       <div class="form-group">
                           <div class="uploader blue">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile41">-->
                   </div>

               </div>
           </div>
           <button class="btn btn-info">提交</button>
           <button class="btn btn-default">取消</button>
       </div>
   </div>
   <div class="box box-warning">
       <div class="box-header with-border">
           <h3 class="box-title">附件信息</h3>

           <div class="box-tools pull-right">
               <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                       class="fa fa-minus"></i></button>
               <!--<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>-->
           </div>
       </div>
       <!-- /.box-header -->
       <div class="box-body">
           <!-- /.row -->
           <div class="row">
               <div class="col-md-4">
                   <div class="form-group">
                       <div class="form-group">
                           <div class="uploader blue" id="fiLeName2">
                               <input type="text" class="filename" readonly/>
                               <input type="button" name="file" class="button" value="Browse..."/>
                               <input type="file" id="fileToUpload"/>
                           </div>
                       </div>
                       <!--<input type="file" id="exampleInputFile50">-->
                   </div>

               </div>
               <!--<div class="col-md-8">-->
                   <!--<div class="form-group">-->
                       <!--<button type="button" class="btn btn-warning pull-left">上传</button>-->
                   <!--</div>-->

               <!--</div>-->

           </div>


           <div class="row">
               <div class="box-body table-responsive no-padding">
                   <table class="table table-hover" id="uploadTable">
                       <tr>
                           <th>序号</th>
                           <th>文件名称</th>
                           <th>步骤名</th>
                           <th>创建人</th>
                           <th>上传时间</th>
                           <th>操作</th>
                       </tr>
                       <tr>
                           <td>1</td>
                           <td>【灵豹药业】贷款贴息申报材料-151216.rar</td>
                           <td>申请提交</td>
                           <td>肖雪</td>
                           <td>2015-12-16 12:36:18</td>
                           <td><a class="label label-danger" onclick='deltr(this);'>删除</a></td>
                       </tr>
                   </table>
               </div>
           </div>

       </div>

       <div class="box-footer">
           <a href="zzdx_jijin_list.html" class="btn btn-info pull-right">提交</a>
           <a href="zzdx_jijin_list.html" class="btn btn-info pull-right mr10">保存草稿</a>
           <a href="zzdx_jijin_list.html" class="btn btn-default pull-right mr10">取消</a>
       </div>
   </div>
<script>
$("body").Validform({
    tiptype:function(msg,o,cssctl){
        //msg：提示信息;
        //o:{obj:*,type:*,curform:*}, obj指向的是当前验证的表单元素（或表单对象），type指示提示的状态，值为1、2、3、4， 1：正在检测/提交数据，2：通过验证，3：验证失败，4：提示ignore状态, curform为当前form对象;
        //cssctl:内置的提示信息样式控制函数，该函数需传入两个参数：显示提示信息的对象 和 当前提示的状态（既形参o中的type）;
        if(!o.obj.is("form")){//验证表单元素时o.obj为该表单元素，全部验证通过提交表单时o.obj为该表单对象;
            var objtip=o.obj.siblings(".Validform_checktip");
            cssctl(objtip,o.type);
            objtip.text(msg);
        }else{
            var objtip=o.obj.find("#msgdemo");
            cssctl(objtip,o.type);
            objtip.text(msg);
        }
    }
});
</script>